<%@ Assembly Name="TweakSP.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ffb9317dcc18733a" %>
<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages.Administration, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" Inherits="TweakSP.Web.Admin.TweakSP_AdminSettings"
    MasterPageFile="~/_admin/admin.master" %>

<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="AdminControls" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint.ApplicationPages.Administration" %>

<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>



<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <sharepoint:encodedliteral runat="server" text="<%$ Resources:TweakSP, AdminSettingsTitle %>" encodemethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    <sharepoint:encodedliteral runat="server" text="<%$ Resources:TweakSP, AdminSettingsTitle %>" encodemethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <sharepoint:encodedliteral runat="server" text="<%$ Resources:TweakSP, AdminSettingsDescription %>"
        encodemethod='HtmlEncodeAllowSimpleTextFormatting' />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <!--
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
        <tr>
            <td height="5" class="ms-descriptiontext" colspan="2">
                <img src="/_layouts/images/blank.gif" width="1" height="5" alt="">
            </td>
        </tr>
        <tr>
            <td class="ms-sectionline" height="1" colspan="2">
                <img src="/_layouts/images/blank.gif" width="1" height="1" alt="">
            </td>
        </tr>
        <tr>
            <td class="ms-descriptiontext" valign="top">
                <table border="0" cellpadding="1" cellspacing="0" width="100%">
                    <tr>
                        <td class="ms-sectionheader" style="padding-top: 4px;" height="22" valign="top">
                            <h3 class="ms-standardheader">
                                <asp:Label ID="titleDatabaseFeatures" runat="server" Text="Database Functionality" />
                            </h3>
                        </td>
                    </tr>
                    <tr>
                        <td class="ms-descriptiontext ms-inputformdescription">
                            <asp:Label ID="notesDatabaseFeatures" runat="server" Text="Enabling this feature allows functionality that reads from the SharePoint Content Database.  Even reading from the SharePoint database may cause performance issues and is thoroughly unsupported by Microsoft." />
                        </td>
                        <td>
                            <img src="/_layouts/images/blank.gif" width="8" height="1" alt="">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="/_layouts/images/blank.gif" width="150" height="19" alt="">
                        </td>
                    </tr>
                </table>
            </td>
            <td class="ms-authoringcontrols ms-inputformcontrols" valign="top" align="left">
                <table border="0" width="100%" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="9px">
                            <img src="/_layouts/images/blank.gif" width="9" height="7" alt="">
                        </td>
                        <td>
                            <img src="/_layouts/images/blank.gif" width="150" height="7" alt="">
                        </td>
                        <td width="10px">
                            <img src="/_layouts/images/blank.gif" width="10" height="1" alt="">
                        </td>
                    </tr>
                    <tr>
                        <td />
                        <td class="ms-authoringcontrols">
                            <table class="ms-authoringcontrols" border="0" width="100%" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <asp:Button ID="btnDatabaseFeatures" runat="server" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="10px">
                            <img src="/_layouts/images/blank.gif" width="10" height="1" alt="">
                        </td>
                    </tr>
                    <tr>
                        <td />
                        <td>
                            <img src="/_layouts/images/blank.gif" width="150" height="13" alt="">
                        </td>
                        <td />
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    -->
    
    
	<TABLE border="0" cellspacing="0" cellpadding="0" width="100%">
		<wssuc:ButtonSection runat="server" TopButtons="true" BottomSpacing="5" ShowSectionLine="false">
			<Template_Buttons>
				<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="BtnSubmit_Click" Text="OK" id="BtnSubmitTop" />
			</Template_Buttons>
		</wssuc:ButtonSection>

		<wssuc:InputFormSection TITLE="Database Functionality" runat="server" description="Enabling this feature allows functionality that reads from the SharePoint Content Database.  Even reading from the SharePoint database may cause performance issues and is thoroughly unsupported by Microsoft.">
			<Template_InputFormControls>
				<wssuc:InputFormControl runat="server" LabelText="Enable Database Functionality">
					<Template_Control>
						<asp:RadioButton id="databaseFunctionalityOn" GroupName="DatabaseFunctionality" runat="server" Text="Yes" Title="Enable Database Functionality" />
						&nbsp;&nbsp;
						<asp:RadioButton id="databaseFunctionalityOff" GroupName="DatabaseFunctionality" runat="server" Text="No" Title="Disable Database Functionality" />
					</Template_Control>
				</wssuc:InputFormControl>
			</Template_InputFormControls>
		</wssuc:InputFormSection>
				
		
		
		<wssuc:ButtonSection runat="server">
			<Template_Buttons>
				<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="BtnSubmit_Click" Text="OK" id="BtnSubmit"/>
			</Template_Buttons>
		</wssuc:ButtonSection>
	</TABLE>
    


</asp:Content>
